package com.ruoyi.ems.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 分数明细对象 ems_score_details
 * 
 * @author sh
 * @date 2023-12-12
 */
@Data
public class EmsScoreDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 修改人id */
    @Excel(name = "修改人id")
    private String reviser;

    /** 被修改人id */
    @Excel(name = "被修改人id")
    private String modifiedPerson;

    /** 修改分数 */
    @Excel(name = "修改分数")
    private Integer score;

    /** 修改说明 */
    @Excel(name = "修改说明")
    private String explainInfo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReviser(String reviser) 
    {
        this.reviser = reviser;
    }

    public String getReviser() 
    {
        return reviser;
    }
    public void setModifiedPerson(String modifiedPerson) 
    {
        this.modifiedPerson = modifiedPerson;
    }

    public String getModifiedPerson()
    {
        return modifiedPerson;
    }
    public void setScore(Integer score)
    {
        this.score = score;
    }

    public Integer getScore()
    {
        return score;
    }
    public void setExplain(String explain) 
    {
        this.explainInfo = explain;
    }

    public String getExplain() 
    {
        return explainInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reviser", getReviser())
            .append("modifiedPerson", getModifiedPerson())
            .append("score", getScore())
            .append("explain", getExplain())
            .toString();
    }
}
